﻿@model mtg_trader.Web.Models.Home.CardModel

@{
    ViewBag.Title = Model != null ?Model.Name : "Card Not Found";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@if (Model != null)
{

    <div class="container span12">
        <div class="span2">@Model.Name</div>
        <div class="span10">@Model.ErrataTypes</div>
        <div class="span12">
            <img src="@Model.ImageUri"/>
        </div>
    </div>
}
else
{
    <h2>Home</h2>
    <div>Card not found.</div>
}